/**
 * 
 */
package com.etc.user.service.impl;

import java.util.List;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.etc.entity.Order;
import com.etc.entity.Room;
import com.etc.user.dao.UserOrderMapper;
import com.etc.user.service.UserOrderService;

/**
 * @author ccq
 *
 * date: 2019年5月5日  下午5:03:24
 */
@Service(value="userOrderService")
public class UserOrderServiceImpl implements UserOrderService{

	@Resource(name="userOrderMapper")
	private UserOrderMapper userOrderMapper;
	
	@Override
	public List<Room> selectRoom(String orderstartdate, String orderenedate, Integer roomtype) {
		// TODO Auto-generated method stub
		return userOrderMapper.selectRoom(orderstartdate, orderenedate, roomtype);
	}

	
	@Override
	public int addUserOrder(Order order) {
		// TODO Auto-generated method stub
		return userOrderMapper.addUserOrder(order);
	}

}
